package org.example.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.entity.BaseEntity;

/**
 * 单元实体类
 */
@Data
@TableName("sys_unit")
public class Unit extends BaseEntity {
    @TableId(type = IdType.AUTO)    //主键自增长
    private Long id; //ID
    private Integer ridgepole;//栋数
    private Integer floor;//楼层数
    private Integer house;//房屋数
}
